<template>
	
	<view class="content">
		<view class="content-wrap">
			<view class="elem-quote">
				请选择备案登记类型 
			</view>
			<div class="box" style="width:100%; text-align:center;" v-if="TYPE==390">
				<navigator :url="'/pages/dengji2/dengji1?formType=1&SNW_FLAG='+SNW_FLAG" hover-class="navigator-hover">
				   <button   type="primary"  style="display:inline-block;width: 50%;">异地长期生活居住</button>
				</navigator>
				<navigator :url="'/pages/dengji2/dengji1?formType=2&SNW_FLAG='+SNW_FLAG" hover-class="navigator-hover">
				   <button   type="primary"   style="display:inline-block;margin-top: 30upx; width: 50%;">外出务工 </button>
				</navigator>
				<navigator :url="'/pages/dengji2/dengji1?formType=3&SNW_FLAG='+SNW_FLAG" hover-class="navigator-hover">
				   <button   type="primary" style="display:inline-block;margin-top: 30upx;width: 50%;">异地转诊 </button>
				</navigator>
				<navigator :url="'/pages/dengji2/dengji1?formType=4&SNW_FLAG='+SNW_FLAG" hover-class="navigator-hover">
				   <button   type="primary"   style="display:inline-block;margin-top: 30upx; width: 50%;">异地上学大学生</button>
				</navigator>
			</div>
			
			<div class="box" style="width:100%; text-align:center;" v-if="TYPE==31">
				<navigator :url="'/pages/dengji2/dengji1?formType=1&SNW_FLAG='+SNW_FLAG" hover-class="navigator-hover">
				   <button   type="primary"  style="display:inline-block;width: 50%;">异地安置退休人员</button>
				</navigator>
				<navigator :url="'/pages/dengji2/dengji1?formType=2&SNW_FLAG='+SNW_FLAG" hover-class="navigator-hover">
				   <button   type="primary"   style="display:inline-block;margin-top: 30upx; width: 50%;">异地长期居住人员 </button>
				</navigator>
				<navigator :url="'/pages/dengji2/dengji1?formType=3&SNW_FLAG='+SNW_FLAG" hover-class="navigator-hover">
				   <button   type="primary" style="display:inline-block;margin-top: 30upx;width: 50%;">常驻异地工作人员 </button>
				</navigator>
				<navigator :url="'/pages/dengji2/dengji1?formType=4&SNW_FLAG='+SNW_FLAG" hover-class="navigator-hover">
				   <button   type="primary"   style="display:inline-block;margin-top: 30upx; width: 50%;">异地转诊人员</button>
				</navigator>
			</div>
		</view>
		
	</view>
	
</template>
<script>
	export default {
		data() {
			return {
				SNW_FLAG: 0,
                TYPE:0
			}
		},
		onLoad(param){
			if(param.SNW_FLAG){
				this.SNW_FLAG = param.SNW_FLAG;
			}
			var Loginer = uni.getStorageSync('userInfo');
			this.TYPE = Loginer.AAE140;
		}
	}
</script>
<style>
	.part{
		margin: 20upx;
	}
	.elem-quote{
		margin-bottom: 20upx;
		padding: 18upx;
		line-height: 22px;
		text-align: left;
		font-size: 14px;
		border-left: 5px solid #3366cc;
		border-radius: 0 2px 2px 0;
		background-color: #f2f2f2;
	}
	
	
</style>